package com.dfd.common.config;

import com.dfd.common.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <b><code>IdWorkerConfig</code></b>
 * <p/>
 * Description
 * <p/>
 * <b>Creation Time:</b> 2023/2/9 22:14.
 *
 * @author DFD
 * @since rocketmq-springboot-test 1.0
 */
@Configuration
public class IdWorkerConfig {
    @Bean
    public IdWorker idWorker() {
        return new IdWorker();
    }
}
